/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Excersize2_Swing;

import battleshipgame.logic.Player.TypeHumanOrBot;
import java.util.ArrayList;
import battleshipgame.logic.Player;
/**
 *
 * @author אלירן
 */
public class PlayerSwingEditor {
    String name ;
    Player.TypeHumanOrBot type ;
    private ArrayList<CommandSetnUnSetBattleship> commandSetBattleships ;
    public PlayerSwingEditor(String name, TypeHumanOrBot type) {
        this.name = name;
        this.type = type;
    }
    
    public void AddCoCommandSetBattleshipToList ( CommandSetnUnSetBattleship csb){
        commandSetBattleships.add(csb);
    }

    public String getName() {
        return name;
    }

    public TypeHumanOrBot getType() {
        return type;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setType(TypeHumanOrBot type) {
        this.type = type;
    }
    
}
